package org.jsola.hr.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;
import org.jsola.hr.constant.convert.WayStatusConverter;
import org.jsola.hr.vo.EmpSocBackRecordInfoListVO;

import java.util.Map;

/**
 * @author lyh
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "社保回款计划记录导入对象")
public class SocBackRecordImportDTO extends BaseDTO {

    @ApiModelProperty(notes = "姓名")
    @ExcelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(notes = "身份证号")
    @ExcelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(notes = "回款途径")
    @ExcelProperty(value = "回款途径", converter = WayStatusConverter.class)
    private Integer wayStatus;

    @ApiModelProperty(notes = "回款金额")
    @ExcelProperty(value = "回款金额")
    private String amount;

    @ApiModelProperty(notes = "错误信息")
    private Map<String, String> errorInfo;

    @ApiModelProperty(notes = "错误信息总和")
    @ExcelProperty(value = "错误信息")
    private String errorMsg;

    @ApiModelProperty(notes = "回款记录对应的回款信息")
    EmpSocBackRecordInfoListVO backRecordInfo;

}
